﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AirLinq.Providers.Sql {
	public class SqlTable : SqlSource {
		private readonly string _tableName;
		public SqlTable(string tableName) {
			if (tableName == null) {
				throw new ArgumentNullException("tableName");
			}
			_tableName = tableName;
		}
		public string TableName {
			get {
				return _tableName;
			}
		}
		public override SqlNodeType NodeType {
			get {
				return SqlNodeType.Table;
			}
		}
	}
}
